<script setup lang="ts">

</script>

<template>
    <div class="outside">
        <div class="Box">
            <div class="title">
                <slot name="title">
                </slot>
            </div>
            <div class="content">
                <slot name="content">
                </slot>
            </div>
            <div class="BottomBox">
                <div class="date">
                    <slot name="date">
                    </slot>
                </div>
                <div class="rightBox">
                    <div class="thumbsUp">
                        <van-icon name="thumb-circle-o" />
                        <slot name="num">
                        </slot>
                    </div>
                    <div class="forward">
                        <van-icon name="share-o" />
                        转发
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<style scoped>
.outside {
    //margin: 12px 15px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    .Box {
        margin: 10px 10px;
        color: #181818;
        .title {
            font-size: 16px;
        }
        .content {
            font-size: 13px;
            color: #999999;
            margin: 15px 0 10px;
        }
        .BottomBox {
            display: flex;
            justify-content: space-between;
            .date {
                font-size: 13px;
                color: #999999;
            }
            .rightBox {
                font-size: 12px;
                width: 35%;
                display: flex;
                justify-content: space-between;

                .forward {
                    margin-right: 10px;
                }
            }
        }
    }
}

</style>